import java.util.Objects;
import java.util.Scanner;
import java.util.random.RandomGenerator;

/**
 * @author w
 */
public class House {
    /**
     *
     */
    public static int choice;

    public static void main(String[] args) {
        else if (choice == 5) {
            System.out.println("总题数：" + sum1 + "答对的题数:" + sum2);
            System.out.println("确认退出");
            System.exit(0);
        } else {
            System.out.println("选择错误。请重新选择");
        }
    }
} else
        {
        System.out.println("密码输入错误");}
        i ++;}
        System.out.println("密码错误三次");
        }

        }
}


